﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    #ctl00_MainerRegion_ZhengShouFanWeiDongJieControl___GridList_Div1
    {
        border-collapse: collapse;
        border: 1px solid #74a4c0;
        background-color: #FFFFFF;
        text-align: center;
        color: #a30101;
    }
</style>

<script type="text/javascript">
    function delzb(id) {
        if (confirm('你确定要删除该值班表吗？')) {
            location.href = "ZhengShouZBB.aspx?id=" + id + "";
        
         }
    
     }

</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left; color: black">
                &nbsp;&nbsp;信息系统值班表 </font>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="center" class="window_tab_list"
    style="width: 98%; margin: 20px 0 10px 0; line-height: 35px; text-align: center;">
    <tr style="height: 30px;">
     <%--   <td>
            小组人员名称
        </td>
        <td>
            <asp:TextBox runat="server" ID="txt_rymc"></asp:TextBox>
        </td>
         <td>
            安图人员名称
        </td>
        <td>
            <asp:TextBox runat="server" ID="txt_ztrymc"></asp:TextBox>
        </td>--%>
        <td>
            年份
        </td>
        <td>
            <asp:TextBox runat="server" ID="txt_nf"></asp:TextBox>
        </td>
        <td rowspan="2">
            <asp:Button ID="btnsearch" runat="server" Text="查询" />
        </td>
         <td rowspan="2">
            <asp:Button ID="btninsert" runat="server" Text="新增" />
        </td>
    </tr>
</table>
<center style="margin-left: 10px;">
    <CBW:CustomGridView ShowItemNumber="true" AutoGenerateColumns="false" ID="GridList"
        runat="server" PageSize="10" AllowPaging="true" AllowSorting="false" SkinID="List"
        CustomSortExpression="" HideTextLength="20" ShowCmpAndCancel="False" ShowHideColModel="None"
        Width="99%" CssClass="window_tab_list" CustomGridViewClass="window_tab_list_fst">
        <Columns>
            <asp:BoundField DataField="name" HeaderText="值班表名称"  />
            <asp:BoundField DataField="id" HeaderText="ID" Visible="false" ItemStyle-HorizontalAlign="left" />
            <asp:BoundField DataField="riqi" HeaderText="添加日期" ItemStyle-HorizontalAlign="left" />
            <asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="center">
                <ItemTemplate>
  <%--                  <a href='ZhengShouZBBPersonEdit.aspx?ZID=<%#Eval("ZID") %>&type=<%#Eval("riqi") %>'>编辑人员</a>--%>
                    <a href='ZhengShouZBBPerson.aspx?ID=<%#Eval("id") %>'>编辑值班表</a>
                    <a href='javascript:void(0)' onclick="delzb('<%#Eval("id") %>')">删除值班表</a>
                </ItemTemplate>
            </asp:TemplateField>
        
        </Columns>
    </CBW:CustomGridView>
    <div style="width: 100%; text-align: center;">
        <asp:Label ID="Label2" runat="server" Text="" Font-Size="14px" ForeColor="Red"></asp:Label>
    </div>
</center>
